package tt.dz.appserver.service.avro.server;

import org.apache.avro.AvroRemoteException;
import org.apache.avro.Protocol;
import org.apache.avro.specific.AvroGenerated;

import tt.dz.appserver.util.resource.ResourceUtils;

/** 电桩App服务器提供OMS调用接口 */
@AvroGenerated
public interface RpcAppService {
	
	/**配置文件*/
	public static final Protocol PROTOCOL = Protocol.parse(ResourceUtils.getRootResource("avro/app/appServer.json"));

	/** 通知ＡＳ站点数据更新 */
	CharSequence stationUpdateNotify(CharSequence params) throws AvroRemoteException;

	/** 预约通知接口 */
	CharSequence reservationNotify(CharSequence params) throws AvroRemoteException;

	/** 订单通知接口 */
	CharSequence orderNotify(CharSequence params) throws AvroRemoteException;

	/** 异常信息通知 */
	CharSequence exceptionNotify(CharSequence params) throws AvroRemoteException;

	/** 充电通知 */
	CharSequence chargeNotify(CharSequence params) throws AvroRemoteException;
	
}